Hummingbird\Core\Modules\Cloudflare D

Total Complexity 148
Dependencies 3
Dependents 2
Total lines 1,017
Lines of code 548
Logical lines of code 310
Comment lines 298
Methods 39
Properties 2

Methods 39

Method Rating Maintainability Complexity Lines of code
get_urls_for_post()
B
36 20 74
has_cloudflare()
A
46 14 35
get_apo_settings()
A
49 11 31
toggle_apo()
S
50 6 29
add_caching_page_rule()
S
54 6 22
get_filetypes_expirations()
S
49 5 33
get_zones_list()
S
54 5 22
run()
S
55 5 18
get_caching_expiration()
S
59 5 15
comment_status_change()
S
66 6 8
validate_zones()
S
54 4 24
clear_post_cache()
S
59 4 15
find_matching_zone()
S
61 5 10
set_caching_rules()
S
63 4 11
toggle_cache_by_device()
S
58 3 16
clear_on_comment_post()
S
65 4 9
init_apo()
S
68 3 7
set_caching_expiration()
S
62 3 10
module_status()
S
68 3 7
post_status_change()
S
73 3 5
process_zones()
S
58 2 15
delete_caching_page_rule()
S
65 3 9
get_frequencies()
S
52 1 24
clear_cache()
S
72 2 5
get_page_rules_list()
S
67 2 8
clear_caching_page_rules()
S
71 2 6
get_registered_caching_page_rule_id()
S
74 2 4
unregister_caching_page_rule()
S
68 2 7
is_apo_enabled()
S
74 2 4
update_caching_page_rule()
S
69 2 7
disconnect()
S
60 1 14
page_rule_targets()
S
62 1 12
get_registered_caching_page_rules()
S
76 1 4
is_zone_selected()
S
75 1 4
is_connected()
S
76 1 4
register_caching_page_rule()
S
73 1 5
page_rule_actions()
S
68 1 8
get_plan()
S
76 1 4
init()
S
79 1 3